package com.googlecode.afdbaccess.web.common.exception;

import javax.servlet.http.HttpServletResponse;

public class GuiLayerPageNotFoundException extends GuiLayerException {
    private final static int HTTP_RETURN_CODE = HttpServletResponse.SC_NOT_FOUND;

    public GuiLayerPageNotFoundException(String message, String longMessage, Throwable cause) {
        super(message, longMessage, false, cause);
        setHttpReturnCode(HTTP_RETURN_CODE);
    }

    public GuiLayerPageNotFoundException(String message, String longMessage) {
        super(message, longMessage, false);
        setHttpReturnCode(HTTP_RETURN_CODE);
    }

    public GuiLayerPageNotFoundException(String message, Throwable cause) {
        super(message, false, cause);
        setHttpReturnCode(HTTP_RETURN_CODE);
    }

    public GuiLayerPageNotFoundException(String message) {
        super(message, false);
        setHttpReturnCode(HTTP_RETURN_CODE);
    }
}
